package cn.iocoder.yudao.module.promotion.controller.admin.prizedraw.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 抽奖活动奖品分页 Request VO")
@Data
public class PrizeDrawAwardsPageReqVO extends PageParam {

    @Schema(description = "抽奖活动ID", example = "8110")
    private Long prizeDrawId;

    @Schema(description = "奖项名称", example = "赵六")
    private String awardName;

    @Schema(description = "奖项类型（1：正常奖项，2：安慰奖）", example = "1")
    private Boolean drawType;

    @Schema(description = "奖项排序")
    private Integer drawSort;

    @Schema(description = "奖品类型（1：积分，2：优惠券，3：其他虚拟，4：体系内实物商品，5：其他实物，6：无奖品）", example = "1")
    private Integer awardType;

    @Schema(description = "积分")
    private Integer point;

    @Schema(description = "优惠劵模板编号", example = "14608")
    private Long templateId;

    @Schema(description = "商品 SPU 编号", example = "109")
    private Long spuId;

    @Schema(description = "商品 SPU 名称", example = "李四")
    private String spuName;

    @Schema(description = "商品 SKU 编号", example = "19766")
    private Long skuId;

    @Schema(description = "奖品名称", example = "芋艿")
    private String prizeName;

    @Schema(description = "奖品图片")
    private String prizePic;

    @Schema(description = "奖品数量")
    private Integer prizeNums;

    @Schema(description = "中奖概率")
    private BigDecimal prizeChance;

    @Schema(description = "每日中奖数量")
    private Integer todayPrizeNums;

    @Schema(description = "今日剩余数量")
    private Integer todaySurplusNums;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}